Handling of multiple authentication procedures in 5g

ABSTRACT

A method by an AUSF of a home PLMN configured to communicate through an interface with electronic devices is provided. A first authentication request is received from a first PLMN that is authenticating an electronic device. A first security key used for integrity protection of messages delivered from the home PLMN to the electronic device is obtained. A second authentication request is received from a second PLMN that is authenticating the electronic device. A second security key used for integrity protection of the messages delivered from the home PLMN to the electronic device is obtained. A message protection request is received. Which of the first security key and the second security key is a latest security key is determined. The latest security key is used to protect a message associated with the message protection request.

PRIORITY CLAIM

The application is a continuation of U.S. patent application Ser. No. 17/153,522, filed Jan. 20, 2021, which is a continuation of International Patent Application No. PCT/EP2020/060968, filed Apr. 20, 2020, which claims the benefit of and priority to U.S. Provisional Patent Application 62/840,021 entitled “HANDLING OF MULTIPLE AUTHENTICATION PROCEDURES IN 5G,” and filed with the United States Patent and Trademark Office on Apr. 29, 2019, the disclosure of which are hereby incorporated in their entirety.

TECHNICAL FIELD

The present disclosure relates generally to communications, and more particularly to communication methods and related devices and nodes supporting communications

BACKGROUND

The 3GPP security standardization working group SA3 has finalized the security specification for the Release 15 of the 5G System in TS 33.501 [1]. The 5G System includes many new features that require the introduction of additional security mechanisms. For example, the 5G System integrates non-3GPP access (e.g. WLAN) alongside 3GPP access (New Radio and LTE) in a seamless manner More precisely, in 5G, the UE can run the usual service access procedure independently of the underlying access.

The 5G System consists of the Access network (AN) and the Core Network (CN). The AN is the network that allows the UE to gain connectivity to the CN, e.g. the base station which could be a next generation node B (gNB) or a next generation evolved node B (ng-eNB) in 5G. The CN contains all the Network Functions (NF) ensuring a wide range of different functionalities such as session management, connection management, charging, authentication, etc. FIG. 1, from TS 23.501 [2], provides a high overview of the 5G architecture for the non-roaming scenario.

The communication links between the UE and the network (AN and CN) can be grouped in two different strata. The UE may communicate with the CN over the Non-Access Stratum (NAS), and may communicate with the AN over the Access Stratum (AS). All the NAS communication takes place between the UE and the Access and connectivity Management Function (AMF) in the CN over the NAS protocol (N1 interface in FIG. 1). Protection of the communications over this these strata is provided by the NAS protocol (for NAS) and the packet data convergence protocol (PDCP) protocol (for AS).

More details on the 5G security can be found in TS 33.501 [1]. In general, the security mechanisms for these protocols rely on multiple different security keys. In the 5G security specification, these keys are organized in a hierarchy. At the top level there is the long-term key part of the authentication credential and stored in the SIM card on the UE side and in the unified data management/authentication credential repository and processing function (UDM/ARPF) on the Home Public Land Mobile Network (PLMN) side.

A successful Primary Authentication between the UE and the AUSF in the Home PLMN may lead to the establishment of the K_(AUSF) key which is the second level key in the hierarchy. This key is not intended to leave the Home PLMN and is used for new features introduced in the 5G System, such as for the provisioning of parameters to the UE from the Home PLMN. More precisely the K_(AUSF) key may be used for the integrity protection of the messages delivered from the Home PLMN to the UE. As described in TS 33.501 [1], such new features include the Steering of Roaming (SoR) and the UDM parameter delivery procedures.

The K_(AUSF) may be used to derive another key (K_(SEAF)) that is sent to the serving PLMN. The serving PLMN key (K_(SEAF)) may then be used to derive the subsequent NAS and AS protection keys. These lower level keys together with other security parameters such as the cryptographic algorithms, the UE security capabilities, the value of the counters used for replay protection in the different protocols, etc., constitute what is defined as the 5G security context in TS 33.501 [1]. K_(AUSF) is not part of the 5G security context since 5G security context resides in the serving network.

SUMMARY

According to some embodiments of inventive concepts, a mechanism can be provided to determine which security key is to be used in protecting messages sent from a Home PLMN to an electronic device.

According to some embodiments of inventive concepts, a method is provided to operate an Authentication Server Function (AUSF) of a home PLMN. The method includes receiving a first r authentication request from a first PLMN that is authenticating an electronic device. The method further includes obtaining a first security key used for integrity protection of messages delivered from the home PLMN to the electronic device. The method further includes receiving a second authentication request from a second PLMN that is authenticating the electronic device. The method includes obtaining a second security key used for integrity protection of the messages delivered from the home PLMN to the electronic device. The method includes receiving a message protection request. The method further includes determining which of the first security key and the second security key is a latest security key. The method includes using the latest security key to protect a message associated with the message protection request.

Authentication server function (AUSFs) of a communication system, computer programs, and computer program products are provided that perform analogous operations to the above embodiments of inventive concepts.

One advantage that may be provided is that the K_(AUSF) key to be used for the SoR and UPU like procedures is synchronized between the Home PLMN and the electronic device. This advantage protects the integrity of information to be delivered from the Home PLMN to the electronic device. A further advantage that may be provided is that no additional signaling overhead between the electronic device and the network is necessary.

According to other embodiments of inventive concepts, a method is provided in an electronic device configured to communicate through a wireless air interface with a home PLMN and visiting PLMNs. The method includes transmitting a first registration request to a first PLMN to register the electronic device. The method further includes generating a first security key used for integrity protection of messages delivered from the home PLMN to the electronic device and storing the first security key. The method further includes transmitting a second registration request to a second PLMN that is authenticating the electronic device. The method further includes generating a second security key used for integrity protection of the messages delivered from the home PLMN to the electronic device and storing the second security key. The method further includes receiving a protected message from the home PLMN. The method further includes determining which of the first security key and the second security key is a latest security key. The method includes using the latest security key to determine contents of a message received from the home PLMN.

Electronic devices, computer programs, and computer program products are provided that perform analogous operations to the above embodiments of inventive concepts.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate certain non-limiting embodiments of inventive concepts. In the drawings:

FIG. 1 is block diagram illustrating an overview of the 5G architecture for the non-roaming scenario;

FIG. 2 is a block diagram illustrating a local breakout (LBO) architecture for a 5G Core Network with non-3GPP access;

FIG. 3 is a flow chart illustrating an example of management of multiple KAUSF for protection of messages delivered from the HPLMN to an electronic device (e.g., UE) according to some embodiments of the present disclosure;

FIG. 4 is a block diagram illustrating an electronic device according to some embodiments of inventive concepts;

FIG. 5 is a block diagram illustrating a core network node (e.g., an AMF node, etc.) according to some embodiments of inventive concepts;

FIG. 6 is a block diagram illustrating a PLMN node (e.g., an AUSF node);

FIG. 7 is a flow chart illustrating operations of an AUSF node according to some embodiments of inventive concepts;

FIG. 8 is a flow chart illustrating operations of an electronic device according to some embodiments of inventive concepts;

FIGS. 9-11 are flow charts illustrating operations of an AUSF node and/or an electronic device according to some embodiments of inventive concepts;

FIG. 12 is a block diagram of a wireless network in accordance with some embodiments;

FIG. 13 is a block diagram of a user equipment in accordance with some embodiments;

FIG. 14 is a block diagram of a virtualization environment in accordance with some embodiments;

FIG. 15 is a block diagram of a telecommunication network connected via an intermediate network to a host computer in accordance with some embodiments;

FIG. 16 is a block diagram of a host computer communicating via a base station with a user equipment over a partially wireless connection in accordance with some embodiments;

FIG. 17 is a block diagram of methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments;

FIG. 18 is a block diagram of methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments;

FIG. 19 is a block diagram of methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments; and

FIG. 20 is a block diagram of methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments.

DETAILED DESCRIPTION

Inventive concepts will now be described more fully hereinafter with reference to the accompanying drawings, in which examples of embodiments of inventive concepts are shown. Inventive concepts may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of present inventive concepts to those skilled in the art. It should also be noted that these embodiments are not mutually exclusive. Components from one embodiment may be tacitly assumed to be present/used in another embodiment.

The following description presents various embodiments of the disclosed subject matter. These embodiments are presented as teaching examples and are not to be construed as limiting the scope of the disclosed subject matter. For example, certain details of the described embodiments may be modified, omitted, or expanded upon without departing from the scope of the described subject matter.

In TS 33.501[1], there are two features that may make use of the K_(AUSF) key.

The first feature of these two features is the Steering of Roaming (SoR) security mechanism described in clause 6.14 of TS 33.501 [1]. The SoR mechanism is used for the delivery of information about the list of preferred PLMNs from the UDM in the Home PLMN to the UE. This information is included in an integrity protected message where the K_(AUSF) key may be used for the calculation of the Message Authentication Code (MAC) as described in Annex A.17 of TS 33.501 [1].

The second feature of the two features is the UE parameters update (UPU) via UDM control procedure security mechanism specified in clause 6.15 of TS 33.501 [1]. This control procedure is for the delivery of UE parameter updates from the UDM in the Home PLMN to the UE. The UPU updates may be included in an integrity protected message where the K_(AUSF) is used for the calculation of the MAC (see Annex A.19 of TS 33.501 [1]).

In the 5G System, a UE can be simultaneously registered to the network via 3GPP and non-3GPP accesses. In such a case, the UE can establish and maintain two parallel NAS connections and run in parallel any of the NAS procedures to request resources and access services over each of the accesses independently and in parallel. The UE can also be registered simultaneously to two different PLMNs, each over a specific type of access as shown in FIG. 2, which is from TS 23.501 [2].

In the scenario of FIG. 2, the UE is registered over 3GPP access to a Visited PLMN (designated as VPLMN1 in FIG. 2) and over non-3GPP access to a different Visited PLMN (designated as VPLMN2 in FIG. 2). Thus, the UE may be communicating in parallel with two different Visited PLMNs. In order to secure the communication, the UE may be required to maintain and use in parallel two different 5G security contexts each associated with a specific PLMN as described in clause 6.3.2 of TS 33.501 [1]. These two 5G security context are resulting from two different independent Primary Authentication procedures involving the HPLMN, each for a specific VPLMN over the corresponding access. Each procedure would be typically performed during initial registration with each VPLMN.

An issue that may arise is that these Primary Authentications may lead to two different K_(AUSF) keys in the HPLMN side and in the UE side. It may not be clear which of the two different K_(AUSF) keys to use for services such as the SoR or the UDM parameter updates. If the UE and the AUSF K_(AUSF) keys are not synchronized, then there is a risk that the UE and the AUSF may use different K_(AUSF) keys for the SoR and SoR-like procedures leading to an integrity check failure. Consequently, the HPLMN information may not be delivered. The UE would not know whether the failure is due to some entity tampering with the information or due to the usage of the wrong K_(AUSF). This failure could also lead to a deadlock since if the UE does not acknowledge the receipt of the message due to integrity check failure, then the AUSF would simply attempt delivering it again which would only lead to the same failure.

FIG. 4 is a block diagram illustrating elements of an electronic device 400 (also referred to as a terminal, a mobile terminal, a mobile communication terminal, a wireless communication device, a wireless terminal, a wireless device, a wireless communication terminal, a wired device, user equipment, UE, a user equipment node/terminal/device, etc.) configured to provide communication according to embodiments of inventive concepts. The electronic device 400 may be a wired device or a wireless device. (When the electronic device 400 is a wireless device, the wireless device may be provided, for example, as discussed below with respect to wireless device 4110 of FIG. 12.) As shown, when the electronic device 400 is a wireless electronic device, the wireless electronic device may include an antenna 409 (e.g., corresponding to antenna 4111 of FIG. 12), and transceiver circuitry 407 (also referred to as a transceiver, e.g., corresponding to interface 4114 of FIG. 12) including a transmitter and a receiver configured to provide uplink and downlink radio communications with a base station(s) (e.g., corresponding to network node 4160 of FIG. 12) of a radio access network. The electronic device 400 may also include processing circuitry 403 (also referred to as a processor, e.g., corresponding to processing circuitry 4120 of FIG. 12) coupled to the transceiver circuitry, and memory circuitry 405 (also referred to as memory, e.g., corresponding to device readable medium 4130 of FIG. 12) coupled to the processing circuitry. The memory circuitry 405 may include computer readable program code that when executed by the processing circuitry 403 causes the processing circuitry to perform operations according to embodiments disclosed herein. According to other embodiments, processing circuitry 403 may be defined to include memory so that separate memory circuitry is not required. The electronic device 400 may also include a network interface 401 coupled to processing circuitry 4033 and configured to provide communications with a base station(s) and may include other interfaces (such as a user interface) coupled with processing circuitry 403, to communicate with and/or electronic device may be incorporated in a vehicle.

As discussed herein, operations of electronic device 400 may be performed by processing circuitry 403 and/or transceiver circuitry 407. For example, when the electronic device 400 is a wireless device, processing circuitry 403 may control transceiver circuitry 407 to transmit communications through transceiver circuitry 407 over a radio interface to a radio access network node (also referred to as a base station) and/or to receive communications through transceiver circuitry 401 from a RAN node over a radio interface. Moreover, modules may be stored in memory circuitry 405, and these modules may provide instructions so that when instructions of a module are executed by processing circuitry 403, processing circuitry 403 performs respective operations (e.g., operations discussed below with respect to Example Embodiments relating to electronic devices).

FIG. 5 is a block diagram illustrating elements of an AMF configured to provide communication according to embodiments of inventive concepts. As shown the AMF may include at least one network interface circuit 507 (also referred to as a network interface) configured to provide communications with nodes (e.g., with SMFs, ANs, and/or core network nodes). The AMF may also include at least one processor circuit 503 (also referred to as a processor) coupled to the transceiver, and at least one memory circuit 505 (also referred to as memory) coupled to the processor. The memory circuit 505 may include computer readable program code that when executed by the processor 503 causes the processor 503 to perform operations according to embodiments disclosed herein. According to other embodiments, processor 503 may be defined to include memory so that a separate memory circuit is not required.

As discussed herein, operations of the AMF may be performed by processor 503 and/or network interface 507. Modules may be stored in memory 505, and these modules may provide instructions so that when instructions of a module are executed by processor 503, processor 503 performs respective operations (e.g., operations discussed below with respect to Example Embodiments).

According to some other embodiments, a network node may be implemented as a core network CN node without a transceiver. In such embodiments, transmission to an electronic device that is a wireless electronic device may be initiated by the network node so that transmission to the wireless electronic device is provided through a network node including a transceiver (e.g., through a base station or RAN node). According to embodiments where the network node is a RAN node including a transceiver, initiating transmission may include transmitting through the transceiver.

FIG. 5 is a block diagram illustrating elements of a public land mobile network PLMN node (e.g., an AUSF node 600) of a communication network configured to provide cellular communication according to embodiments of inventive concepts. As shown, the AUSF node 600 may include network interface circuitry 607 (also referred to as a network interface) configured to provide communications with other nodes of the core network and/or the radio access network RAN. The AUSF node may also include a processing circuitry 603 (also referred to as a processor) coupled to the network interface circuitry, and memory circuitry 605 (also referred to as memory) coupled to the processing circuitry. The memory circuitry 605 may include computer readable program code that when executed by the processing circuitry 603 causes the processing circuitry to perform operations according to embodiments disclosed herein. According to other embodiments, processing circuitry 603 may be defined to include memory so that a separate memory circuitry is not required.

As discussed herein, operations of the AUSF node 600 may be performed by processing circuitry 603 and/or network interface circuitry 607. For example, processing circuitry 603 may control network interface circuitry 607 to transmit communications through network interface circuitry 607 to one or more other network nodes and/or to receive communications through network interface circuitry from one or more other network nodes. Moreover, modules may be stored in memory 605, and these modules may provide instructions so that when instructions of a module are executed by processing circuitry 603, processing circuitry 603 performs respective operations (e.g., operations discussed below with respect to Example Embodiments relating to core network nodes).

In this group of embodiments, the electronic device 400 and the AUSF 600 in the Home PLMN maintain and use one K_(AUSF) key regardless over whether the electronic device 600 is registered over one or both accesses and to which PLMNs (e.g., visited PLMN1 and/or visited PLMN2). In one of the embodiments, the AUSF 600 and the electronic device 400 may only use the latest K_(AUSF) resulting from the latest (e.g., most recent) successful Primary Authentication run as illustrated in FIG. 3.

Turning to FIG. 3, in operation 1 a, the electronic device 400 registers over an access type (e.g., 3GPP or non-3GPP) to the AMF 500 ₁ of a first visited PLMN1. The registration leads to a primary authentication with the AUSF 600 of the home PLMN in operation 1 b. The AUSF 600 of the home PLMN and the electronic device 400 establish a first K_(AUSF) key. For example, the AUSF 600 and electronic device 400 may generate the first K_(AUSF) key as specified in clause 6.1.3 of TS 33.501. The AUSF 600 and the electronic device 400 store the K_(AUSF) key in operations 2 a and 2 b, respectively.

In operation 3 a, the electronic device 400 registers over an access type (e.g., non-3GPP or 3GPP) to the AMF 600 ₁ of a second visited PLMN2. The registration leads to a primary authentication with the AUSF 600 of the home PLMN in operation 3 b. The AUSF 600 of the home PLMN and the electronic device 400 establish a second K_(AUSF) key. For example, the AUSF 600 and electronic device 400 may generate the second K_(AUSF) key as specified in clause 6.1.3 of TS 33.501. The AUSF 600 and the electronic device 400 store the K_(AUSF) key and keeps track of the latest K_(AUSF) key in operations 2 a and 2 b, respectively, as described below in FIGS. 7-11.

At some point in time, the UDM 300 in the home PLMN may decide to use the SoR feature to deliver a new or updated PLMN preferred list to the electronic device 400. The UDM 300 may send a message protection request (e.g., a SoR protection request or a UPU protection request, etc.) to the AUSF 600 in the home PLMN. The AUSF 600 determines the latest K_(AUSF) key and uses the latest K_(AUSF) key in operation 6 to protect the message associated with the message protection request. In operation 7, the AUSF 600 sends a protection message response to the UDM 300.

In operation 8, the UDM 300 transmits the protection message response (e.g., a protected SoR message, a protected UPU message, etc.) to the electronic device 400. The electronic device 400 uses the latest stored K_(AUSF) key to determine the contents of the protection message response in operation 9.

Operations of an AUSF node 600 (implemented using the structure of FIG. 6) will now be discussed with reference to the flow chart of FIG. 7 according to some embodiments of inventive concepts. For example, modules may be stored in memory 605 of FIG. 6, and these modules may provide instructions so that when the instructions of a module are executed by respective AUSF node processing circuitry 603, processing circuitry 603 performs respective operations of the flow chart.

In operation 700, processing circuitry 603 may receive, via network interface 607, a first registration and authentication request from a first PLMN to register and authenticate the electronic device 400. The processing circuitry 603 may authenticate the electronic device 400 based on the SUPI (subscriber permanent identifier) of the electronic device 400 in the first registration and authentication request.

The processing circuitry in operation 702 may generate a first security key (i.e., a K_(AUSF) key). In operation 704, the processing circuitry 603 may store the first security key. Operations 702 and 704 may include generating a first time stamp indicating a time when the first security key is generated and associating the first time stamp with the first security key. In other embodiments, a counter may be incremented when the first security key is generated, and the value of the counter may be associated with the first security key.

In operation 706, processing circuitry 603 may receive, via network interface 607, a second registration and authentication request from a second PLMN to register and authenticate the electronic device 400. The processing circuitry 603 may authenticate the electronic device 400 based on the SUPI of the electronic device 400 in the second registration and authentication request.

The processing circuitry in operation 708 may generate a second security key (i.e., a K_(AUSF) key). In operation 710, the processing circuitry 603 may store the first security key. Operations 708 and 710 may include generating a second time stamp indicating a time when the second security key is generated and associating the second time stamp with the second security key. In other embodiments, a counter may be incremented when the second security key is generated, and the value of the counter may be associated with the second security key.

As previously indicated, the UDM 300 in the home PLMN may decide to use the SoR feature to deliver a new or updated PLMN preferred list to the electronic device 400. The UDM 300 may send a message protection request (e.g., a SoR protection request or a UPU protection request, etc.) to the AUSF node 600. In operation 712, the processing circuitry 603 may receive, via the network interface 607, a message protection request.

In operation 714, the processing circuitry 603 may determine which of the first security key and the second security key is the latest security key. There are different methods of keeping track and determining which of the first security key and the second security key is the latest security key.

Turning to FIG. 9, in one embodiment, time stamps are used to determine which of the first security key and the second security key is the latest security key. As indicated above, time stamps may be generated when security keys are generated and/or stored. In operation 900, the processing circuitry 603 may obtain the first time stamp associated with the first security key. In operation 902, the processing circuitry 603 may obtain the second time stamp associated with the second security key.

In operation 904, the processing circuitry 603 may make a determination to determine whether the time of the first time stamp is later than the time of the second time stamp. Responsive to the time of the first time stamp being later than the time of the second time stamp being determined in operation 904, the processing circuitry 603 may determine in operation 906 that the first security key is the latest security key. Responsive to the time of the second time stamp being later than the time of the first time stamp being determined in operation 904, the processing circuitry 603 may determine in operation 908 that the second security key is the latest security key.

Turning to FIG. 10, in another embodiment, a counter may be used to determine which of the first security key and the second security key is the latest security key. As indicated above, the value of a counter may be incremented when a security key is generated and/or stored. In operation 1000, the processing circuitry 603 may obtain the value of the counter associated with the first security key. In operation 1002, the processing circuitry 603 may obtain the value of the counter associated with the second security key.

In operation 1004, the processing circuitry 603 may determine whether the value of the counter that is associated with the first security key is higher than the value of the counter that is associated with the second security key. Responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key being determined in operation 1004, the processing circuitry 603 may determine in operation 1006 that the first security key is the latest security key. Responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key being determined in operation 1004, the processing circuitry 603 may determine in operation 1008 that the second security key is the latest security key.

Turning to FIG. 11, in another embodiment, the AUSF node 600 may dispose of the “old” security key (e.g., deletes the stored security key) when a new security key is generated and stored. In operation 1100, the processing circuitry may determine which of the first security key and the second security key is the stored security key, which is the latest security key. In other words, the processing circuitry 603 may determine in operation 1100 whether the first security key is the latest security key. Responsive to the first security key being the stored security key in operation 1100, the processing circuitry 603 may determine in operation 1102 that the first security key is the latest security key and delete the second security key (if the second security key was not previously deleted). Responsive to the first security key not being the stored security key (i.e., the second security key is the stored security key) in operation 1100, the processing circuitry 603 may determine in operation 1104 that the second security key is the latest security key and delete the first security key (if the first security key was not previously deleted).

Returning to FIG. 7, in operation 716, processing circuitry 603 may use the latest security key to protect the message in the message protection request.

Various operations from the flow chart of FIG. 7 may be optional with respect to some embodiments of AUSF nodes and related methods. For example, operations of block 714 of FIG. 7 may be optional when the AUSF node disposes of “old” security keys when a new security key is generated.

There may be situations where the electronic device 400 is simultaneously registered in two different VPLMNs (see, for example, FIG. 2). According to TS 33.501 [1], a visited PLMN can at any time trigger a new re-authentication procedure leading to the establishment of a new security key. In the scenario illustrated in FIG. 2, there is a risk of race condition and K_(AUSF) desynchronization should both the visited PLMN1 and visited PLMN2 trigger a Primary Authentication procedure at a close or overlapping time interval. The solution to such a scenario may be implementation specific because the AUSF node 600 is in control of both procedures (SoR and Primary Authentication), and hence could for example stall some procedures in order to reduce the risk of mismatch of the K_(AUSF) key between the electronic device 400 and the home PLMN.

In yet another embodiment, different AUSF instances may be used in the HPLMN to run primary authentication for different access types. Thus, a first K_(AUSF) key that is generated in a first primary authentication in a first AUSF instance may be required to be deleted when a second K_(AUSF) key is generated in a second primary authentication in a second AUSF instance in situations where the AUSF node 600 disposes of “old” security keys when new security keys are generated. For these situations, the UDM receives confirmation from a second AUSF instance that the second AUSF instance has completed successful primary authentication for an electronic device over a Nudm_UEAuthenticate_ResultConfirmation service operation. The UDM may send an indication to the first AUSF instance to delete the first K_(AUSF) key. This requires the use of a new service operation between UDM and the first AUSF e.g. Nudm_UEAuthenticate_Notification. Alternatively, if the AUSF realization is fully stateless each AUSF will be managing a single UE context for the electronic device 400 where a single K_(AUSF) key will be stored.

Operations of the electronic device 400 (implemented using the structure of the block diagram of FIG. 4) will now be discussed with reference to the flow chart of FIG. 8 according to some embodiments of inventive concepts. For example, modules may be stored in memory 405 of FIG. 4, and these modules may provide instructions so that when the instructions of a module are executed by respective electronic device processing circuitry 403, processing circuitry 403 performs respective operations of the flow chart.

In operation 800, processing circuitry 403 may transmit, via network interface 407 (or may in the case of a wireless device, via transceiver 407), a first registration and authentication request to a first PLMN to register and authenticate the electronic device 400.

The processing circuitry 403 in operation 802 may generate a first security key (i.e., a K_(AUSF) key). In operation 804, the processing circuitry 403 may store the first security key. Operations 802 and 804 may include generating a first time stamp indicating a time when the first security key is generated and associating the first time stamp with the first security key. In other embodiments, a counter may be incremented when the first security key is generated, and the value of the counter may be associated with the first security key.

In operation 806, processing circuitry 403 may transmit, via network interface 401 (or may in the case of a wireless device, via transceiver 407), a second registration and authentication request to a second PLMN to register and authenticate the electronic device 400.

The processing circuitry 403 in operation 808 may generate a second security key (i.e., a K_(AUSF) key). In operation 810, the processing circuitry 803 may store the first security key. Operations 808 and 810 may include generating a second time stamp indicating a time when the second security key is generated and associating the second time stamp with the second security key. In other embodiments, a counter may be incremented when the second security key is generated, and the value of the counter may be associated with the second security key.

In operation 812, the processing circuitry 403 may receive, via the network interface 401 (or may in the case of a wireless device, via transceiver 407), a protected message.

In operation 814, the processing circuitry 603 may determine which of the first security key and the second security key is the latest security key. There are different methods of keeping track and determining which of the first security key and the second security key is the latest security key.

Turning to FIG. 9, in one embodiment, time stamps are used to determine which of the first security key and the second security key is the latest security key. As indicated above, time stamps may be generated when security keys are generated and/or stored. In operation 900, the processing circuitry 403 may obtain the first time stamp associated with the first security key. In operation 902, the processing circuitry 403 may obtain the second time stamp associated with the second security key.

In operation 904, the processing circuitry 403 may make a determination to determine whether the time of the first time stamp is later than the time of the second time stamp. Responsive to the time of the first time stamp being later than the time of the second time stamp being determined in operation 904, the processing circuitry 403 may determine in operation 906 that the first security key is the latest security key. Responsive to the time of the second time stamp being later than the time of the first time stamp being determined in operation 904, the processing circuitry 403 may determine in operation 908 that the second security key is the latest security key.

Turning to FIG. 10, in another embodiment, a counter may be used to determine which of the first security key and the second security key is the latest security key. As indicated above, the value of a counter may be incremented when a security key is generated and/or stored. In operation 1000, the processing circuitry 403 may obtain the value of the counter associated with the first security key. In operation 1002, the processing circuitry 403 may obtain the value of the counter associated with the second security key.

In operation 1004, the processing circuitry 403 may determine whether the value of the counter that is associated with the first security key is higher than the value of the counter that is associated with the second security key. Responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key being determined in operation 1004, the processing circuitry 403 may determine in operation 1006 that the first security key is the latest security key. Responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key being determined in operation 1004, the processing circuitry 403 may determine in operation 1008 that the second security key is the latest security key.

Turning to FIG. 11, in another embodiment, the processing circuitry 403 may dispose of the “old” security key (e.g., deletes the stored “old” security key) when a new security key is generated and stored. In operation 1100, the processing circuitry 403 may determine which of the first security key and the second security key is the stored security key, which is the latest security key. In other words, the processing circuitry 603 may determine in operation 1100 whether the first security key is the latest security key. Responsive to the first security key being the stored security key in operation 1100, the processing circuitry 603 may determine in operation 1102 that the first security key is the latest security key and delete the second security key (if the second security key was not previously deleted). Responsive to the first security key not being the stored security key (i.e., the second security key is the stored security key) in operation 1100, the processing circuitry 603 may determine in operation 1104 that the second security key is the latest security key and delete the first security key (if the first security key was not previously deleted).

Returning to FIG. 8, in operation 816, processing circuitry 403 may use the latest security key to determine the content of the protected message received from the home PLMN. The protected message may be a UDM parameter update message, a steering of roaming message, etc.

Various operations from the flow chart of FIG. 8 may be optional with respect to some embodiments of electronic devices and related methods. For example, operations of block 814 of FIG. 8 may be optional in embodiments where “old” security keys are disposed of when new security keys are generated.

Example embodiments are discussed below.

1. A method by an Authentication Server Function, AUSF, of a home public land mobile network, PLMN, configured to communicate through an interface with electronic devices, the method comprising:

-   -   receiving (700) a first registration and authentication request         from a first PLMN that is authenticating an electronic device;         generating (702) a first security key used for integrity         protection of messages delivered from the home PLMN to the         electronic device;     -   storing (704) the first security key;     -   receiving (706) a second registration and authentication request         from a second PLMN that is authenticating the electronic device;     -   generating (708) a second security key used for integrity         protection of the messages delivered from the home PLMN to the         electronic device;     -   storing (710) the second security key;     -   receiving (712) a message protection request;     -   determining (714) which of the first security key and the second         security key is a latest security key; and     -   using (716) the latest security key to protect a message         associated with the message protection request.

2. The method of Embodiment 1, further comprising

generating a first time stamp indicating a time when the first security key is generated and associating the first time stamp with the first security key;

generating a second time stamp indicating a time when the second security key is generated and associating the second time stamp with the second security key.

3. The method of Embodiment 2, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (900) the first time stamp;

obtaining (902) the second time stamp;

responsive to the first time of the first time stamp being later than the second time of the second time stamp (904), determining (906) that the first security key is the latest security key; and

responsive to the second time of the second time stamp being later than the first time of the first time stamp (904), determining (908) that the second security key is the latest security key.

4. The method of Embodiment 1, further comprising

incrementing a counter when the first security key is generated and associating the value of the counter with the first security key;

incrementing the counter when the second security key is generated and associating the value of the counter with the second security key.

5. The method of Embodiment 4, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (1000) the value of the counter associated with the first security key;

obtaining (1002) the value of the counter associated with the second security key;

responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key (1004), determining (1006) that the first security key is the latest security key; and

responsive to the value of the counter associated with the second security key being higher than the value of the counter associated with the first security key (1004), determining (1008) that the second security key is the latest security key.

6. The method of any of Embodiments 1-5, further comprising:

responsive to the first security key being the latest security key (1100), deleting (1102) the second security key; and

responsive to the second security key being the latest security key (1100), deleting (1104) the first security key.

7. The method of Embodiment 6, wherein the first PLMN is of a first access type and the second PLMN is of a second access type, wherein the first security key is generated by a first instance of the AUSF associated with the first access type and the second security key is generated by a second instance of the AUSF associated with the second access type, and wherein deleting the second security key comprises:

-   -   sending an indication to the second instance of the AUSF to         delete the second security key; and     -   deleting the first security key comprises:     -   sending an indication to the first instance of the AUSF to         delete the first security key.

8. The method of any of Embodiments 1-7 wherein the message protection request is a message protection request for one of a steering of roaming, SoR, message or a UDM parameter update message.

9. An Authentication Server Function, AUSF, of a communications system that comprises a home public land mobile network, PLMN, configured to communicate through

-   -   an interface with electronic devices, the AUSF comprising:     -   at least one processor (603) configured to perform operations         comprising:     -   receiving (700) a first registration and authentication request         from a first PLMN that is authenticating an electronic device;     -   generating (702) a first security key used for integrity         protection of messages delivered from a home public land mobile         network, PLMN, to the electronic device;     -   storing (704) the first security key;     -   receiving (706) a second registration and authentication request         from a second PLMN that is authenticating the electronic device;     -   generating (708) a second security key used for integrity         protection of the messages delivered from the home PLMN to the         electronic device;     -   storing (710) the second security key;     -   receiving (712) a message protection request;     -   determining (714) which of the first security key and the second         security key is a latest security key; and     -   using (716) the latest security key to protect a message         associated with the message protection request.

10. The AUSF of Embodiment 9, wherein the at least one processor (603) is configured to perform further operations comprising

generating a first time stamp when the first security key is generated and associating the first time stamp with the first security key;

generating a second time stamp when the second security key is generated and associating the second time stamp with the second security key.

11. The AUSF of Embodiment 10, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (900) a first time stamp indicating a first time when the first security key was generated;

obtaining (902) a second time stamp indicating a second time when the second security key was generated;

responsive to the first time being later than the second time (904), determining (906) that the first security key is the latest security key; and

responsive to the second time being later than the first time (904), determining (908) that the second security key is the latest security key.

12. The AUSF of Embodiment 9, the at least one processor (603) is configured to perform further operations comprising

incrementing a counter when the first security key is generated and associating the value of the counter with the first security key;

incrementing the counter when the second security key is generated and associating the value of the counter with the second security key.

13. The AUSF of Embodiment 12, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (1000) the value of the counter associated with the first security key;

obtaining (1002) the value of the counter associated with the second security key;

responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key (1004), determining (1006) that the first security key is the latest security key; and

responsive to the value of the counter associated with the second security key being higher than the value of the counter associated with the first security key (1004), determining (1006) that the second security key is the latest security key.

14. The AUSF of any of Embodiments 9-13, wherein the at least one processor (603) is configured to perform further operations comprising:

responsive to the first security key being the latest security key (1100), deleting (1102) the second security key; and

responsive to the second security key being the latest security key (1100), deleting (1102) the first security key.

15. An authentication server function, AUSF, node (600) of a home public land mobile network, PLMN, configured to operate in a communication network, wherein the AUSF node is adapted to perform according to any of Embodiments 1-8.

16. A computer program comprising program code to be executed by processing circuitry (603) of a authentication server function, node (600) of a home public land mobile network configured to operate in a communication network, whereby execution of the program code causes the AUDF node (600) to perform operations according to any of embodiments 1-8.

17. A computer program product comprising a non-transitory storage medium including program code to be executed by processing circuitry (603) of an authentication server function, AUSF, node (600) configured to operate in a communication network, whereby execution of the program code causes the AUSF node (600) to perform operations according to any of embodiments 1-8.

18. A method in an electronic device (400) configured to communicate through a wireless air interface with a home public land mobile network, PLMN, and visiting PLMNs, the method comprising:

-   -   transmitting (800) a first registration and authentication         request to a first PLMN to authenticate the electronic device         (400);     -   generating (802) a first security key used for integrity         protection of messages delivered from the home PLMN to the         electronic device (400);     -   storing (804) the first security key;     -   transmitting (806) a second registration and authentication         request to a second PLMN that is authenticating the electronic         device (400);     -   generating (808) a second security key used for integrity         protection of the messages delivered from the home PLMN to the         electronic device (400);     -   storing (810) the second security key;     -   receiving (812) a protected message from the home PLMN;     -   determining (814) which of the first security key and the second         security key is a latest security key; and     -   using (816) the latest security key to determine contents of a         message received from the home PLMN.

19. The method of Embodiment 18 wherein the protected message comprises one of a UDM parameter update message or a steering of roaming message.

20. The method of any of Embodiments 18-19, further comprising

generating a first time stamp indicating a time when the first security key is generated and associating the first time stamp with the first security key;

generating a second time stamp indicating a time when the second security key is generated and associating the second time stamp with the second security key.

21. The method of Embodiment 20, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (900) the first time stamp;

obtaining (902) the second time stamp;

responsive to the first time of the first time stamp being later than the second time of the second time stamp (904), determining (906) that the first security key is the latest security key; and

responsive to the second time of the second time stamp being later than the first time of the first time stamp (904), determining (908) that the second security key is the latest security key.

22. The method of any of Embodiments 18-19, further comprising incrementing a counter when the first security key is generated and associating the value of the counter with the first security key;

incrementing the counter when the second security key is generated and associating the value of the counter with the second security key.

23. The method of Embodiment 22, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (1000) the value of the counter associated with the first security key;

obtaining (1002) the value of the counter associated with the second security key;

responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key (1004), determining (1006) that the first security key is the latest security key; and

responsive to the value of the counter associated with the second security key being higher than the value of the counter associated with the first security key (1004), determining (1008) that the second security key is the latest security key.

24. The method of any of Embodiments 18-23 further comprising:

responsive to the first security key being the latest security key (1100), deleting (1102) the second security key; and

responsive to the second security key being the latest security key (1100), deleting (1102) the first security key.

25. An electronic device (400) configured to communicate through an interface with a home public land mobile network, PLMN, and visiting PLMNs, the electronic device (400) comprising:

-   -   at least one processor (403) configured to perform operations         comprising:     -   transmitting (800) a first registration and authentication         request to a first PLMN to authenticate the electronic device;     -   generating (802) a first security key used for integrity         protection of messages delivered from the home PLMN to the         electronic device;     -   storing (804) the first security key;     -   transmitting (806) a second registration and authentication         request to a second PLMN that is authenticating the electronic         device;     -   generating (808) a second security key used for integrity         protection of the messages delivered from the home PLMN to the         electronic device;     -   storing (810) the second security key;     -   receiving (812) a protected message from the home PLMN;     -   determining (814) which of the first security key and the second         security key is a latest security key; and     -   using (816) the latest security key to determine contents of a         message received from the home PLMN.

26. The electronic device (400) of Embodiment 25 wherein the protected message comprises one of a UDM parameter update message or a steering of roaming message.

27. The electronic device (400) of any of Embodiments 25-26, wherein the at least one processor (403) performs further operations comprising:

generating a first time stamp indicating a time when the first security key is generated and associating the first time stamp with the first security key;

generating a second time stamp indicating a time when the second security key is generated and associating the second time stamp with the second security key.

28. The electronic device (400) of Embodiment 27, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (900) the first time stamp;

obtaining (902) the second time stamp;

responsive to the first time of the first time stamp being later than the second time of the second time stamp (904), determining (906) that the first security key is the latest security key; and

responsive to the second time of the second time stamp being later than the first time of the first time stamp (900), determining (908) that the second security key is the latest security key.

29. The electronic device (400) of any of Embodiments 25-26, the at least one processor (403) performs further operations comprising:

incrementing a counter when the first security key is generated and associating the value of the counter with the first security key;

incrementing the counter when the second security key is generated and associating the value of the counter with the second security key.

30. The electronic device (400) of Embodiment 29, wherein determining which of the first security key and the second security key is the latest security key comprises:

obtaining (1000) the value of the counter associated with the first security key;

obtaining (1002) the value of the counter associated with the second security key;

responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key (1004), determining (1006) that the first security key is the latest security key; and

responsive to the value of the counter associated with the second security key being higher than the value of the counter associated with the first security key (1004), determining (1008) that the second security key is the latest security key.

31. The electronic device (400) of any of Embodiments 25-30, wherein the at least one processor (403) performs further operations comprising:

responsive to the first security key being the latest security key (1100), deleting (1102) the second security key; and

responsive to the second security key being the latest security key (1100), deleting (1104) the first security key.

32. An electronic device (400) configured to operate in a communication network, wherein the electronic device is adapted to perform according to any of Embodiments 18-23.

33. A computer program comprising program code to be executed by processing circuitry (403) of an electronic device (400) configured to operate in a communication network, whereby execution of the program code causes the electronic device (400) to perform operations according to any of embodiments 18-23.

34. A computer program product comprising a non-transitory storage medium including program code to be executed by processing circuitry (403) of an electronic device (400) configured to operate in a communication network, whereby execution of the program code causes the electronic device (400) to perform operations according to any of embodiments 18-23.

Additional explanation is provided below.

Generally, all terms used herein are to be interpreted according to their ordinary meaning in the relevant technical field, unless a different meaning is clearly given and/or is implied from the context in which it is used. All references to a/an/the element, apparatus, component, means, step, etc. are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, step, etc., unless explicitly stated otherwise. The steps of any methods disclosed herein do not have to be performed in the exact order disclosed, unless a step is explicitly described as following or preceding another step and/or where it is implicit that a step must follow or precede another step. Any feature of any of the embodiments disclosed herein may be applied to any other embodiment, wherever appropriate. Likewise, any advantage of any of the embodiments may apply to any other embodiments, and vice versa. Other objectives, features and advantages of the enclosed embodiments will be apparent from the following description.

Some of the embodiments contemplated herein will now be described more fully with reference to the accompanying drawings. Other embodiments, however, are contained within the scope of the subject matter disclosed herein, the disclosed subject matter should not be construed as limited to only the embodiments set forth herein; rather, these embodiments are provided by way of example to convey the scope of the subject matter to those skilled in the art.

FIG. 12 illustrates a wireless network in accordance with some embodiments.

Although the subject matter described herein may be implemented in any appropriate type of system using any suitable components, the embodiments disclosed herein are described in relation to a wireless network, such as the example wireless network illustrated in FIG. 12. For simplicity, the wireless network of FIG. 12 only depicts network 4106, network nodes 4160 and 4160 b, and WDs 4110, 4110 b, and 4110 c (also referred to as mobile terminals). In practice, a wireless network may further include any additional elements suitable to support communication between wireless devices or between a wireless device and another communication device, such as a landline telephone, a service provider, or any other network node or end device. Of the illustrated components, network node 4160 and wireless device (WD) 4110 are depicted with additional detail. The wireless network may provide communication and other types of services to one or more wireless devices to facilitate the wireless devices' access to and/or use of the services provided by, or via, the wireless network.

The wireless network may comprise and/or interface with any type of communication, telecommunication, data, cellular, and/or radio network or other similar type of system. In some embodiments, the wireless network may be configured to operate according to specific standards or other types of predefined rules or procedures. Thus, particular embodiments of the wireless network may implement communication standards, such as Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), Long Term Evolution (LTE), and/or other suitable 2G, 3G, 4G, or 5G standards; wireless local area network (WLAN) standards, such as the IEEE 802.11 standards; and/or any other appropriate wireless communication standard, such as the Worldwide Interoperability for Microwave Access (WiMax), Bluetooth, Z-Wave and/or ZigBee standards.

Network 4106 may comprise one or more backhaul networks, core networks, IP networks, public switched telephone networks (PSTNs), packet data networks, optical networks, wide-area networks (WANs), local area networks (LANs), wireless local area networks (WLANs), wired networks, wireless networks, metropolitan area networks, and other networks to enable communication between devices.

Network node 4160 and WD 4110 comprise various components described in more detail below. These components work together in order to provide network node and/or wireless device functionality, such as providing wireless connections in a wireless network. In different embodiments, the wireless network may comprise any number of wired or wireless networks, network nodes, base stations, controllers, wireless devices, relay stations, and/or any other components or systems that may facilitate or participate in the communication of data and/or signals whether via wired or wireless connections.

As used herein, network node refers to equipment capable, configured, arranged and/or operable to communicate directly or indirectly with a wireless device and/or with other network nodes or equipment in the wireless network to enable and/or provide wireless access to the wireless device and/or to perform other functions (e.g., administration) in the wireless network. Examples of network nodes include, but are not limited to, access points (APs) (e.g., radio access points), base stations (BSs) (e.g., radio base stations, Node Bs, evolved Node Bs (eNBs) and NR NodeBs (gNBs)). Base stations may be categorized based on the amount of coverage they provide (or, stated differently, their transmit power level) and may then also be referred to as femto base stations, pico base stations, micro base stations, or macro base stations. A base station may be a relay node or a relay donor node controlling a relay. A network node may also include one or more (or all) parts of a distributed radio base station such as centralized digital units and/or remote radio units (RRUs), sometimes referred to as Remote Radio Heads (RRHs). Such remote radio units may or may not be integrated with an antenna as an antenna integrated radio. Parts of a distributed radio base station may also be referred to as nodes in a distributed antenna system (DAS). Yet further examples of network nodes include multi-standard radio (MSR) equipment such as MSR BSs, network controllers such as radio network controllers (RNCs) or base station controllers (BSCs), base transceiver stations (BTSs), transmission points, transmission nodes, multi-cell/multicast coordination entities (MCEs), core network nodes (e.g., MSCs, MMEs), O&M nodes, OSS nodes, SON nodes, positioning nodes (e.g., E-SMLCs), and/or MDTs. As another example, a network node may be a virtual network node as described in more detail below. More generally, however, network nodes may represent any suitable device (or group of devices) capable, configured, arranged, and/or operable to enable and/or provide a wireless device with access to the wireless network or to provide some service to a wireless device that has accessed the wireless network.

In FIG. 12, network node 4160 includes processing circuitry 4170, device readable medium 4180, interface 4190, auxiliary equipment 4184, power source 4186, power circuitry 4187, and antenna 4162. Although network node 4160 illustrated in the example wireless network of FIG. 12 may represent a device that includes the illustrated combination of hardware components, other embodiments may comprise network nodes with different combinations of components. It is to be understood that a network node comprises any suitable combination of hardware and/or software needed to perform the tasks, features, functions and methods disclosed herein. Moreover, while the components of network node 4160 are depicted as single boxes located within a larger box, or nested within multiple boxes, in practice, a network node may comprise multiple different physical components that make up a single illustrated component (e.g., device readable medium 4180 may comprise multiple separate hard drives as well as multiple RAM modules).

Similarly, network node 4160 may be composed of multiple physically separate components (e.g., a NodeB component and a RNC component, or a BTS component and a BSC component, etc.), which may each have their own respective components. In certain scenarios in which network node 4160 comprises multiple separate components (e.g., BTS and BSC components), one or more of the separate components may be shared among several network nodes. For example, a single RNC may control multiple NodeB's. In such a scenario, each unique NodeB and RNC pair, may in some instances be considered a single separate network node. In some embodiments, network node 4160 may be configured to support multiple radio access technologies (RATs). In such embodiments, some components may be duplicated (e.g., separate device readable medium 4180 for the different RATs) and some components may be reused (e.g., the same antenna 4162 may be shared by the RATs). Network node 4160 may also include multiple sets of the various illustrated components for different wireless technologies integrated into network node 4160, such as, for example, GSM, WCDMA, LTE, NR, WiFi, or Bluetooth wireless technologies. These wireless technologies may be integrated into the same or different chip or set of chips and other components within network node 4160.

Processing circuitry 4170 is configured to perform any determining, calculating, or similar operations (e.g., certain obtaining operations) described herein as being provided by a network node. These operations performed by processing circuitry 4170 may include processing information obtained by processing circuitry 4170 by, for example, converting the obtained information into other information, comparing the obtained information or converted information to information stored in the network node, and/or performing one or more operations based on the obtained information or converted information, and as a result of said processing making a determination.

Processing circuitry 4170 may comprise a combination of one or more of a microprocessor, controller, microcontroller, central processing unit, digital signal processor, application-specific integrated circuit, field programmable gate array, or any other suitable computing device, resource, or combination of hardware, software and/or encoded logic operable to provide, either alone or in conjunction with other network node 4160 components, such as device readable medium 4180, network node 4160 functionality. For example, processing circuitry 4170 may execute instructions stored in device readable medium 4180 or in memory within processing circuitry 4170. Such functionality may include providing any of the various wireless features, functions, or benefits discussed herein. In some embodiments, processing circuitry 4170 may include a system on a chip (SOC).

In some embodiments, processing circuitry 4170 may include one or more of radio frequency (RF) transceiver circuitry 4172 and baseband processing circuitry 4174. In some embodiments, radio frequency (RF) transceiver circuitry 4172 and baseband processing circuitry 4174 may be on separate chips (or sets of chips), boards, or units, such as radio units and digital units. In alternative embodiments, part or all of RF transceiver circuitry 4172 and baseband processing circuitry 4174 may be on the same chip or set of chips, boards, or units.

In certain embodiments, some or all of the functionality described herein as being provided by a network node, base station, eNB or other such network device may be performed by processing circuitry 4170 executing instructions stored on device readable medium 4180 or memory within processing circuitry 4170. In alternative embodiments, some or all of the functionality may be provided by processing circuitry 4170 without executing instructions stored on a separate or discrete device readable medium, such as in a hard-wired manner In any of those embodiments, whether executing instructions stored on a device readable storage medium or not, processing circuitry 4170 can be configured to perform the described functionality. The benefits provided by such functionality are not limited to processing circuitry 4170 alone or to other components of network node 4160, but are enjoyed by network node 4160 as a whole, and/or by end users and the wireless network generally.

Device readable medium 4180 may comprise any form of volatile or non-volatile computer readable memory including, without limitation, persistent storage, solid-state memory, remotely mounted memory, magnetic media, optical media, random access memory (RAM), read-only memory (ROM), mass storage media (for example, a hard disk), removable storage media (for example, a flash drive, a Compact Disk (CD) or a Digital Video Disk (DVD)), and/or any other volatile or non-volatile, non-transitory device readable and/or computer-executable memory devices that store information, data, and/or instructions that may be used by processing circuitry 4170. Device readable medium 4180 may store any suitable instructions, data or information, including a computer program, software, an application including one or more of logic, rules, code, tables, etc. and/or other instructions capable of being executed by processing circuitry 4170 and, utilized by network node 4160. Device readable medium 4180 may be used to store any calculations made by processing circuitry 4170 and/or any data received via interface 4190. In some embodiments, processing circuitry 4170 and device readable medium 4180 may be considered to be integrated.

Interface 4190 is used in the wired or wireless communication of signalling and/or data between network node 4160, network 4106, and/or WDs 4110. As illustrated, interface 4190 comprises port(s)/terminal(s) 4194 to send and receive data, for example to and from network 4106 over a wired connection. Interface 4190 also includes radio front end circuitry 4192 that may be coupled to, or in certain embodiments a part of, antenna 4162. Radio front end circuitry 4192 comprises filters 4198 and amplifiers 4196. Radio front end circuitry 4192 may be connected to antenna 4162 and processing circuitry 4170. Radio front end circuitry may be configured to condition signals communicated between antenna 4162 and processing circuitry 4170. Radio front end circuitry 4192 may receive digital data that is to be sent out to other network nodes or WDs via a wireless connection. Radio front end circuitry 4192 may convert the digital data into a radio signal having the appropriate channel and bandwidth parameters using a combination of filters 4198 and/or amplifiers 4196. The radio signal may then be transmitted via antenna 4162. Similarly, when receiving data, antenna 4162 may collect radio signals which are then converted into digital data by radio front end circuitry 4192. The digital data may be passed to processing circuitry 4170. In other embodiments, the interface may comprise different components and/or different combinations of components.

In certain alternative embodiments, network node 4160 may not include separate radio front end circuitry 4192, instead, processing circuitry 4170 may comprise radio front end circuitry and may be connected to antenna 4162 without separate radio front end circuitry 4192. Similarly, in some embodiments, all or some of RF transceiver circuitry 4172 may be considered a part of interface 4190. In still other embodiments, interface 4190 may include one or more ports or terminals 4194, radio front end circuitry 4192, and RF transceiver circuitry 4172, as part of a radio unit (not shown), and interface 4190 may communicate with baseband processing circuitry 4174, which is part of a digital unit (not shown).

Antenna 4162 may include one or more antennas, or antenna arrays, configured to send and/or receive wireless signals. Antenna 4162 may be coupled to radio front end circuitry 4190 and may be any type of antenna capable of transmitting and receiving data and/or signals wirelessly. In some embodiments, antenna 4162 may comprise one or more omni-directional, sector or panel antennas operable to transmit/receive radio signals between, for example, 2 GHz and 66 GHz. An omni-directional antenna may be used to transmit/receive radio signals in any direction, a sector antenna may be used to transmit/receive radio signals from devices within a particular area, and a panel antenna may be a line of sight antenna used to transmit/receive radio signals in a relatively straight line. In some instances, the use of more than one antenna may be referred to as MIMO. In certain embodiments, antenna 4162 may be separate from network node 4160 and may be connectable to network node 4160 through an interface or port.

Antenna 4162, interface 4190, and/or processing circuitry 4170 may be configured to perform any receiving operations and/or certain obtaining operations described herein as being performed by a network node. Any information, data and/or signals may be received from a wireless device, another network node and/or any other network equipment. Similarly, antenna 4162, interface 4190, and/or processing circuitry 4170 may be configured to perform any transmitting operations described herein as being performed by a network node. Any information, data and/or signals may be transmitted to a wireless device, another network node and/or any other network equipment.

Power circuitry 4187 may comprise, or be coupled to, power management circuitry and is configured to supply the components of network node 4160 with power for performing the functionality described herein. Power circuitry 4187 may receive power from power source 4186. Power source 4186 and/or power circuitry 4187 may be configured to provide power to the various components of network node 4160 in a form suitable for the respective components (e.g., at a voltage and current level needed for each respective component). Power source 4186 may either be included in, or external to, power circuitry 4187 and/or network node 4160. For example, network node 4160 may be connectable to an external power source (e.g., an electricity outlet) via an input circuitry or interface such as an electrical cable, whereby the external power source supplies power to power circuitry 4187. As a further example, power source 4186 may comprise a source of power in the form of a battery or battery pack which is connected to, or integrated in, power circuitry 4187. The battery may provide backup power should the external power source fail. Other types of power sources, such as photovoltaic devices, may also be used.

Alternative embodiments of network node 4160 may include additional components beyond those shown in FIG. 12 that may be responsible for providing certain aspects of the network node's functionality, including any of the functionality described herein and/or any functionality necessary to support the subject matter described herein. For example, network node 4160 may include user interface equipment to allow input of information into network node 4160 and to allow output of information from network node 4160. This may allow a user to perform diagnostic, maintenance, repair, and other administrative functions for network node 4160.

As used herein, wireless device (WD) refers to a device capable, configured, arranged and/or operable to communicate wirelessly with network nodes and/or other wireless devices. Unless otherwise noted, the term WD may be used interchangeably herein with user equipment (UE). Communicating wirelessly may involve transmitting and/or receiving wireless signals using electromagnetic waves, radio waves, infrared waves, and/or other types of signals suitable for conveying information through air. In some embodiments, a WD may be configured to transmit and/or receive information without direct human interaction. For instance, a WD may be designed to transmit information to a network on a predetermined schedule, when triggered by an internal or external event, or in response to requests from the network. Examples of a WD include, but are not limited to, a smart phone, a mobile phone, a cell phone, a voice over IP (VoIP) phone, a wireless local loop phone, a desktop computer, a personal digital assistant (PDA), a wireless cameras, a gaming console or device, a music storage device, a playback appliance, a wearable terminal device, a wireless endpoint, a mobile station, a tablet, a laptop, a laptop-embedded equipment (LEE), a laptop-mounted equipment (LME), a smart device, a wireless customer-premise equipment (CPE). a vehicle-mounted wireless terminal device, etc. A WD may support device-to-device (D2D) communication, for example by implementing a 3GPP standard for sidelink communication, vehicle-to-vehicle (V2V), vehicle-to-infrastructure (V2I), vehicle-to-everything (V2X) and may in this case be referred to as a D2D communication device. As yet another specific example, in an Internet of Things (IoT) scenario, a WD may represent a machine or other device that performs monitoring and/or measurements, and transmits the results of such monitoring and/or measurements to another WD and/or a network node. The WD may in this case be a machine-to-machine (M2M) device, which may in a 3GPP context be referred to as an MTC device. As one particular example, the WD may be a UE implementing the 3GPP narrow band internet of things (NB-IoT) standard. Particular examples of such machines or devices are sensors, metering devices such as power meters, industrial machinery, or home or personal appliances (e.g. refrigerators, televisions, etc.) personal wearables (e.g., watches, fitness trackers, etc.). In other scenarios, a WD may represent a vehicle or other equipment that is capable of monitoring and/or reporting on its operational status or other functions associated with its operation. A WD as described above may represent the endpoint of a wireless connection, in which case the device may be referred to as a wireless terminal. Furthermore, a WD as described above may be mobile, in which case it may also be referred to as a mobile device or a mobile terminal.

As illustrated, wireless device 4110 includes antenna 4111, interface 4114, processing circuitry 4120, device readable medium 4130, user interface equipment 4132, auxiliary equipment 4134, power source 4136 and power circuitry 4137. WD 4110 may include multiple sets of one or more of the illustrated components for different wireless technologies supported by WD 4110, such as, for example, GSM, WCDMA, LTE, NR, WiFi, WiMAX, or Bluetooth wireless technologies, just to mention a few. These wireless technologies may be integrated into the same or different chips or set of chips as other components within WD 4110.

Antenna 4111 may include one or more antennas or antenna arrays, configured to send and/or receive wireless signals, and is connected to interface 4114. In certain alternative embodiments, antenna 4111 may be separate from WD 4110 and be connectable to WD 4110 through an interface or port. Antenna 4111, interface 4114, and/or processing circuitry 4120 may be configured to perform any receiving or transmitting operations described herein as being performed by a WD. Any information, data and/or signals may be received from a network node and/or another WD. In some embodiments, radio front end circuitry and/or antenna 4111 may be considered an interface.

As illustrated, interface 4114 comprises radio front end circuitry 4112 and antenna 4111. Radio front end circuitry 4112 comprise one or more filters 4118 and amplifiers 4116. Radio front end circuitry 4114 is connected to antenna 4111 and processing circuitry 4120, and is configured to condition signals communicated between antenna 4111 and processing circuitry 4120. Radio front end circuitry 4112 may be coupled to or a part of antenna 4111. In some embodiments, WD 4110 may not include separate radio front end circuitry 4112; rather, processing circuitry 4120 may comprise radio front end circuitry and may be connected to antenna 4111. Similarly, in some embodiments, some or all of RF transceiver circuitry 4122 may be considered a part of interface 4114. Radio front end circuitry 4112 may receive digital data that is to be sent out to other network nodes or WDs via a wireless connection. Radio front end circuitry 4112 may convert the digital data into a radio signal having the appropriate channel and bandwidth parameters using a combination of filters 4118 and/or amplifiers 4116. The radio signal may then be transmitted via antenna 4111. Similarly, when receiving data, antenna 4111 may collect radio signals which are then converted into digital data by radio front end circuitry 4112. The digital data may be passed to processing circuitry 4120. In other embodiments, the interface may comprise different components and/or different combinations of components.

Processing circuitry 4120 may comprise a combination of one or more of a microprocessor, controller, microcontroller, central processing unit, digital signal processor, application-specific integrated circuit, field programmable gate array, or any other suitable computing device, resource, or combination of hardware, software, and/or encoded logic operable to provide, either alone or in conjunction with other WD 4110 components, such as device readable medium 4130, WD 4110 functionality. Such functionality may include providing any of the various wireless features or benefits discussed herein. For example, processing circuitry 4120 may execute instructions stored in device readable medium 4130 or in memory within processing circuitry 4120 to provide the functionality disclosed herein.

As illustrated, processing circuitry 4120 includes one or more of RF transceiver circuitry 4122, baseband processing circuitry 4124, and application processing circuitry 4126. In other embodiments, the processing circuitry may comprise different components and/or different combinations of components. In certain embodiments processing circuitry 4120 of WD 4110 may comprise a SOC. In some embodiments, RF transceiver circuitry 4122, baseband processing circuitry 4124, and application processing circuitry 4126 may be on separate chips or sets of chips. In alternative embodiments, part or all of baseband processing circuitry 4124 and application processing circuitry 4126 may be combined into one chip or set of chips, and RF transceiver circuitry 4122 may be on a separate chip or set of chips. In still alternative embodiments, part or all of RF transceiver circuitry 4122 and baseband processing circuitry 4124 may be on the same chip or set of chips, and application processing circuitry 4126 may be on a separate chip or set of chips. In yet other alternative embodiments, part or all of RF transceiver circuitry 4122, baseband processing circuitry 4124, and application processing circuitry 4126 may be combined in the same chip or set of chips. In some embodiments, RF transceiver circuitry 4122 may be a part of interface 4114. RF transceiver circuitry 4122 may condition RF signals for processing circuitry 4120.

In certain embodiments, some or all of the functionality described herein as being performed by a WD may be provided by processing circuitry 4120 executing instructions stored on device readable medium 4130, which in certain embodiments may be a computer-readable storage medium. In alternative embodiments, some or all of the functionality may be provided by processing circuitry 4120 without executing instructions stored on a separate or discrete device readable storage medium, such as in a hard-wired manner In any of those particular embodiments, whether executing instructions stored on a device readable storage medium or not, processing circuitry 4120 can be configured to perform the described functionality. The benefits provided by such functionality are not limited to processing circuitry 4120 alone or to other components of WD 4110, but are enjoyed by WD 4110 as a whole, and/or by end users and the wireless network generally.

Processing circuitry 4120 may be configured to perform any determining, calculating, or similar operations (e.g., certain obtaining operations) described herein as being performed by a WD. These operations, as performed by processing circuitry 4120, may include processing information obtained by processing circuitry 4120 by, for example, converting the obtained information into other information, comparing the obtained information or converted information to information stored by WD 4110, and/or performing one or more operations based on the obtained information or converted information, and as a result of said processing making a determination.

Device readable medium 4130 may be operable to store a computer program, software, an application including one or more of logic, rules, code, tables, etc. and/or other instructions capable of being executed by processing circuitry 4120. Device readable medium 4130 may include computer memory (e.g., Random Access Memory (RAM) or Read Only Memory (ROM)), mass storage media (e.g., a hard disk), removable storage media (e.g., a Compact Disk (CD) or a Digital Video Disk (DVD)), and/or any other volatile or non-volatile, non-transitory device readable and/or computer executable memory devices that store information, data, and/or instructions that may be used by processing circuitry 4120. In some embodiments, processing circuitry 4120 and device readable medium 4130 may be considered to be integrated.

User interface equipment 4132 may provide components that allow for a human user to interact with WD 4110. Such interaction may be of many forms, such as visual, audial, tactile, etc. User interface equipment 4132 may be operable to produce output to the user and to allow the user to provide input to WD 4110. The type of interaction may vary depending on the type of user interface equipment 4132 installed in WD 4110. For example, if WD 4110 is a smart phone, the interaction may be via a touch screen; if WD 4110 is a smart meter, the interaction may be through a screen that provides usage (e.g., the number of gallons used) or a speaker that provides an audible alert (e.g., if smoke is detected). User interface equipment 4132 may include input interfaces, devices and circuits, and output interfaces, devices and circuits. User interface equipment 4132 is configured to allow input of information into WD 4110, and is connected to processing circuitry 4120 to allow processing circuitry 4120 to process the input information. User interface equipment 4132 may include, for example, a microphone, a proximity or other sensor, keys/buttons, a touch display, one or more cameras, a USB port, or other input circuitry. User interface equipment 4132 is also configured to allow output of information from WD 4110, and to allow processing circuitry 4120 to output information from WD 4110. User interface equipment 4132 may include, for example, a speaker, a display, vibrating circuitry, a USB port, a headphone interface, or other output circuitry. Using one or more input and output interfaces, devices, and circuits, of user interface equipment 4132, WD 4110 may communicate with end users and/or the wireless network, and allow them to benefit from the functionality described herein.

Auxiliary equipment 4134 is operable to provide more specific functionality which may not be generally performed by WDs. This may comprise specialized sensors for doing measurements for various purposes, interfaces for additional types of communication such as wired communications etc. The inclusion and type of components of auxiliary equipment 4134 may vary depending on the embodiment and/or scenario.

Power source 4136 may, in some embodiments, be in the form of a battery or battery pack. Other types of power sources, such as an external power source (e.g., an electricity outlet), photovoltaic devices or power cells, may also be used. WD 4110 may further comprise power circuitry 4137 for delivering power from power source 4136 to the various parts of WD 4110 which need power from power source 4136 to carry out any functionality described or indicated herein. Power circuitry 4137 may in certain embodiments comprise power management circuitry. Power circuitry 4137 may additionally or alternatively be operable to receive power from an external power source; in which case WD 4110 may be connectable to the external power source (such as an electricity outlet) via input circuitry or an interface such as an electrical power cable. Power circuitry 4137 may also in certain embodiments be operable to deliver power from an external power source to power source 4136. This may be, for example, for the charging of power source 4136. Power circuitry 4137 may perform any formatting, converting, or other modification to the power from power source 4136 to make the power suitable for the respective components of WD 4110 to which power is supplied.

FIG. 13 illustrates a user Equipment in accordance with some embodiments.

FIG. 13 illustrates one embodiment of a UE in accordance with various aspects described herein. As used herein, a user equipment or UE may not necessarily have a user in the sense of a human user who owns and/or operates the relevant device. Instead, a UE may represent a device that is intended for sale to, or operation by, a human user but which may not, or which may not initially, be associated with a specific human user (e.g., a smart sprinkler controller). Alternatively, a UE may represent a device that is not intended for sale to, or operation by, an end user but which may be associated with or operated for the benefit of a user (e.g., a smart power meter). UE 42200 may be any UE identified by the 3rd Generation Partnership Project (3GPP), including a NB-IoT UE, a machine type communication (MTC) UE, and/or an enhanced MTC (eMTC) UE. UE 4200, as illustrated in FIG. 13, is one example of a WD configured for communication in accordance with one or more communication standards promulgated by the 3rd Generation Partnership Project (3GPP), such as 3GPP's GSM, UMTS, LTE, and/or 5G standards. As mentioned previously, the term WD and UE may be used interchangeable. Accordingly, although FIG. 13 is a UE, the components discussed herein are equally applicable to a WD, and vice-versa.

In FIG. 13, UE 4200 includes processing circuitry 4201 that is operatively coupled to input/output interface 4205, radio frequency (RF) interface 4209, network connection interface 4211, memory 4215 including random access memory (RAM) 4217, read-only memory (ROM) 4219, and storage medium 4221 or the like, communication subsystem 4231, power source 4233, and/or any other component, or any combination thereof. Storage medium 4221 includes operating system 4223, application program 4225, and data 4227. In other embodiments, storage medium 4221 may include other similar types of information. Certain UEs may utilize all of the components shown in FIG. 13, or only a subset of the components. The level of integration between the components may vary from one UE to another UE. Further, certain UEs may contain multiple instances of a component, such as multiple processors, memories, transceivers, transmitters, receivers, etc.

In FIG. 13, processing circuitry 4201 may be configured to process computer instructions and data. Processing circuitry 4201 may be configured to implement any sequential state machine operative to execute machine instructions stored as machine-readable computer programs in the memory, such as one or more hardware-implemented state machines (e.g., in discrete logic, FPGA, ASIC, etc.); programmable logic together with appropriate firmware; one or more stored program, general-purpose processors, such as a microprocessor or Digital Signal Processor (DSP), together with appropriate software; or any combination of the above. For example, the processing circuitry 4201 may include two central processing units (CPUs). Data may be information in a form suitable for use by a computer.

In the depicted embodiment, input/output interface 4205 may be configured to provide a communication interface to an input device, output device, or input and output device. UE 4200 may be configured to use an output device via input/output interface 4205. An output device may use the same type of interface port as an input device. For example, a USB port may be used to provide input to and output from UE 4200. The output device may be a speaker, a sound card, a video card, a display, a monitor, a printer, an actuator, an emitter, a smartcard, another output device, or any combination thereof. UE 4200 may be configured to use an input device via input/output interface 4205 to allow a user to capture information into UE 4200. The input device may include a touch-sensitive or presence-sensitive display, a camera (e.g., a digital camera, a digital video camera, a web camera, etc.), a microphone, a sensor, a mouse, a trackball, a directional pad, a trackpad, a scroll wheel, a smartcard, and the like. The presence-sensitive display may include a capacitive or resistive touch sensor to sense input from a user. A sensor may be, for instance, an accelerometer, a gyroscope, a tilt sensor, a force sensor, a magnetometer, an optical sensor, a proximity sensor, another like sensor, or any combination thereof. For example, the input device may be an accelerometer, a magnetometer, a digital camera, a microphone, and an optical sensor.

In FIG. 13, RF interface 4209 may be configured to provide a communication interface to RF components such as a transmitter, a receiver, and an antenna. Network connection interface 4211 may be configured to provide a communication interface to network 4243 a. Network 4243 a may encompass wired and/or wireless networks such as a local-area network (LAN), a wide-area network (WAN), a computer network, a wireless network, a telecommunications network, another like network or any combination thereof. For example, network 4243 a may comprise a Wi-Fi network. Network connection interface 4211 may be configured to include a receiver and a transmitter interface used to communicate with one or more other devices over a communication network according to one or more communication protocols, such as Ethernet, TCP/IP, SONET, ATM, or the like. Network connection interface 4211 may implement receiver and transmitter functionality appropriate to the communication network links (e.g., optical, electrical, and the like). The transmitter and receiver functions may share circuit components, software or firmware, or alternatively may be implemented separately.

RAM 4217 may be configured to interface via bus 4202 to processing circuitry 4201 to provide storage or caching of data or computer instructions during the execution of software programs such as the operating system, application programs, and device drivers. ROM 4219 may be configured to provide computer instructions or data to processing circuitry 4201. For example, ROM 4219 may be configured to store invariant low-level system code or data for basic system functions such as basic input and output (I/O), startup, or reception of keystrokes from a keyboard that are stored in a non-volatile memory. Storage medium 4221 may be configured to include memory such as RAM, ROM, programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic disks, optical disks, floppy disks, hard disks, removable cartridges, or flash drives. In one example, storage medium 4221 may be configured to include operating system 4223, application program 4225 such as a web browser application, a widget or gadget engine or another application, and data file 4227. Storage medium 4221 may store, for use by UE 4200, any of a variety of various operating systems or combinations of operating systems.

Storage medium 4221 may be configured to include a number of physical drive units, such as redundant array of independent disks (RAID), floppy disk drive, flash memory, USB flash drive, external hard disk drive, thumb drive, pen drive, key drive, high-density digital versatile disc (HD-DVD) optical disc drive, internal hard disk drive, Blu-Ray optical disc drive, holographic digital data storage (HDDS) optical disc drive, external mini-dual in-line memory module (DIMM), synchronous dynamic random access memory (SDRAM), external micro-DIMM SDRAM, smartcard memory such as a subscriber identity module or a removable user identity (SIM/RUIM) module, other memory, or any combination thereof. Storage medium 4221 may allow UE 4200 to access computer-executable instructions, application programs or the like, stored on transitory or non-transitory memory media, to off-load data, or to upload data. An article of manufacture, such as one utilizing a communication system may be tangibly embodied in storage medium 4221, which may comprise a device readable medium.

In FIG. 13, processing circuitry 4201 may be configured to communicate with network 4243 b using communication subsystem 4231. Network 4243 a and network 4243 b may be the same network or networks or different network or networks. Communication subsystem 4231 may be configured to include one or more transceivers used to communicate with network 4243 b. For example, communication subsystem 4231 may be configured to include one or more transceivers used to communicate with one or more remote transceivers of another device capable of wireless communication such as another WD, UE, or base station of a radio access network (RAN) according to one or more communication protocols, such as IEEE 802.11, CDMA, WCDMA, GSM, LTE, UTRAN, WiMax, or the like. Each transceiver may include transmitter 4233 and/or receiver 4235 to implement transmitter or receiver functionality, respectively, appropriate to the RAN links (e.g., frequency allocations and the like). Further, transmitter 4233 and receiver 4235 of each transceiver may share circuit components, software or firmware, or alternatively may be implemented separately.

In the illustrated embodiment, the communication functions of communication subsystem 4231 may include data communication, voice communication, multimedia communication, short-range communications such as Bluetooth, near-field communication, location-based communication such as the use of the global positioning system (GPS) to determine a location, another like communication function, or any combination thereof. For example, communication subsystem 4231 may include cellular communication, Wi-Fi communication, Bluetooth communication, and GPS communication. Network 4243 b may encompass wired and/or wireless networks such as a local-area network (LAN), a wide-area network (WAN), a computer network, a wireless network, a telecommunications network, another like network or any combination thereof. For example, network 4243 b may be a cellular network, a Wi-Fi network, and/or a near-field network. Power source 4213 may be configured to provide alternating current (AC) or direct current (DC) power to components of UE 4200.

The features, benefits and/or functions described herein may be implemented in one of the components of UE 4200 or partitioned across multiple components of UE 4200. Further, the features, benefits, and/or functions described herein may be implemented in any combination of hardware, software or firmware. In one example, communication subsystem 4231 may be configured to include any of the components described herein. Further, processing circuitry 4201 may be configured to communicate with any of such components over bus 4202. In another example, any of such components may be represented by program instructions stored in memory that when executed by processing circuitry 4201 perform the corresponding functions described herein. In another example, the functionality of any of such components may be partitioned between processing circuitry 4201 and communication subsystem 4231. In another example, the non-computationally intensive functions of any of such components may be implemented in software or firmware and the computationally intensive functions may be implemented in hardware.

FIG. 14 illustrates a virtualization environment in accordance with some embodiments.

FIG. 14 is a schematic block diagram illustrating a virtualization environment 4300 in which functions implemented by some embodiments may be virtualized. In the present context, virtualizing means creating virtual versions of apparatuses or devices which may include virtualizing hardware platforms, storage devices and networking resources. As used herein, virtualization can be applied to a node (e.g., a virtualized base station or a virtualized radio access node) or to a device (e.g., a UE, a wireless device or any other type of communication device) or components thereof and relates to an implementation in which at least a portion of the functionality is implemented as one or more virtual components (e.g., via one or more applications, components, functions, virtual machines or containers executing on one or more physical processing nodes in one or more networks).

In some embodiments, some or all of the functions described herein may be implemented as virtual components executed by one or more virtual machines implemented in one or more virtual environments 4300 hosted by one or more of hardware nodes 4330. Further, in embodiments in which the virtual node is not a radio access node or does not require radio connectivity (e.g., a core network node), then the network node may be entirely virtualized.

The functions may be implemented by one or more applications 4320 (which may alternatively be called software instances, virtual appliances, network functions, virtual nodes, virtual network functions, etc.) operative to implement some of the features, functions, and/or benefits of some of the embodiments disclosed herein. Applications 4320 are run in virtualization environment 4300 which provides hardware 4330 comprising processing circuitry 4360 and memory 4390. Memory 4390 contains instructions 4395 executable by processing circuitry 4360 whereby application 4320 is operative to provide one or more of the features, benefits, and/or functions disclosed herein.

Virtualization environment 4300, comprises general-purpose or special-purpose network hardware devices 4330 comprising a set of one or more processors or processing circuitry 4360, which may be commercial off-the-shelf (COTS) processors, dedicated Application Specific Integrated Circuits (ASICs), or any other type of processing circuitry including digital or analog hardware components or special purpose processors. Each hardware device may comprise memory 4390-1 which may be non-persistent memory for temporarily storing instructions 4395 or software executed by processing circuitry 4360. Each hardware device may comprise one or more network interface controllers (NICs) 4370, also known as network interface cards, which include physical network interface 4380. Each hardware device may also include non-transitory, persistent, machine-readable storage media 4390-2 having stored therein software 4395 and/or instructions executable by processing circuitry 4360. Software 4395 may include any type of software including software for instantiating one or more virtualization layers 4350 (also referred to as hypervisors), software to execute virtual machines 4340 as well as software allowing it to execute functions, features and/or benefits described in relation with some embodiments described herein.

Virtual machines 4340, comprise virtual processing, virtual memory, virtual networking or interface and virtual storage, and may be run by a corresponding virtualization layer 4350 or hypervisor. Different embodiments of the instance of virtual appliance 4320 may be implemented on one or more of virtual machines 4340, and the implementations may be made in different ways.

During operation, processing circuitry 4360 executes software 4395 to instantiate the hypervisor or virtualization layer 4350, which may sometimes be referred to as a virtual machine monitor (VMM). Virtualization layer 4350 may present a virtual operating platform that appears like networking hardware to virtual machine 4340.

As shown in FIG. 14, hardware 4330 may be a standalone network node with generic or specific components. Hardware 4330 may comprise antenna 43225 and may implement some functions via virtualization. Alternatively, hardware 4330 may be part of a larger cluster of hardware (e.g. such as in a data center or customer premise equipment (CPE)) where many hardware nodes work together and are managed via management and orchestration (MANO) 43100, which, among others, oversees lifecycle management of applications 4320.

Virtualization of the hardware is in some contexts referred to as network function virtualization (NFV). NFV may be used to consolidate many network equipment types onto industry standard high volume server hardware, physical switches, and physical storage, which can be located in data centers, and customer premise equipment.

In the context of NFV, virtual machine 4340 may be a software implementation of a physical machine that runs programs as if they were executing on a physical, non-virtualized machine. Each of virtual machines 4340, and that part of hardware 4330 that executes that virtual machine, be it hardware dedicated to that virtual machine and/or hardware shared by that virtual machine with others of the virtual machines 4340, forms a separate virtual network elements (VNE).

Still in the context of NFV, Virtual Network Function (VNF) is responsible for handling specific network functions that run in one or more virtual machines 4340 on top of hardware networking infrastructure 4330 and corresponds to application 4320 in FIG. 14.

In some embodiments, one or more radio units 43200 that each include one or more transmitters 43220 and one or more receivers 43210 may be coupled to one or more antennas 43225. Radio units 43200 may communicate directly with hardware nodes 4330 via one or more appropriate network interfaces and may be used in combination with the virtual components to provide a virtual node with radio capabilities, such as a radio access node or a base station.

In some embodiments, some signalling can be effected with the use of control system 43230 which may alternatively be used for communication between the hardware nodes 4330 and radio units 43200.

FIG. 15 illustrates a telecommunication network connected via an intermediate network to a host computer in accordance with some embodiments.

With reference to FIG. 15, in accordance with an embodiment, a communication system includes telecommunication network 4410, such as a 3GPP-type cellular network, which comprises access network 4411, such as a radio access network, and core network 4414. Access network 4411 comprises a plurality of base stations 4412 a, 4412 b, 4412 c, such as NBs, eNBs, gNBs or other types of wireless access points, each defining a corresponding coverage area 4413 a, 4413 b, 4413 c. Each base station 4412 a, 4412 b, 4412 c is connectable to core network 4414 over a wired or wireless connection 4415. A first UE 4491 located in coverage area 4413 c is configured to wirelessly connect to, or be paged by, the corresponding base station 4412 c. A second UE 4492 in coverage area 4413 a is wirelessly connectable to the corresponding base station 4412 a. While a plurality of UEs 4491, 4492 are illustrated in this example, the disclosed embodiments are equally applicable to a situation where a sole UE is in the coverage area or where a sole UE is connecting to the corresponding base station 4412.

Telecommunication network 4410 is itself connected to host computer 4430, which may be embodied in the hardware and/or software of a standalone server, a cloud-implemented server, a distributed server or as processing resources in a server farm. Host computer 4430 may be under the ownership or control of a service provider, or may be operated by the service provider or on behalf of the service provider. Connections 4421 and 4422 between telecommunication network 4410 and host computer 4430 may extend directly from core network 4414 to host computer 4430 or may go via an optional intermediate network 4420. Intermediate network 4420 may be one of, or a combination of more than one of, a public, private or hosted network; intermediate network 4420, if any, may be a backbone network or the Internet; in particular, intermediate network 4420 may comprise two or more sub-networks (not shown).

The communication system of FIG. 15 as a whole enables connectivity between the connected UEs 4491, 4492 and host computer 4430. The connectivity may be described as an over-the-top (OTT) connection 4450. Host computer 4430 and the connected UEs 4491, 4492 are configured to communicate data and/or signaling via OTT connection 4450, using access network 4411, core network 4414, any intermediate network 4420 and possible further infrastructure (not shown) as intermediaries. OTT connection 4450 may be transparent in the sense that the participating communication devices through which OTT connection 4450 passes are unaware of routing of uplink and downlink communications. For example, base station 4412 may not or need not be informed about the past routing of an incoming downlink communication with data originating from host computer 4430 to be forwarded (e.g., handed over) to a connected UE 4491. Similarly, base station 4412 need not be aware of the future routing of an outgoing uplink communication originating from the UE 4491 towards the host computer 4430.

FIG. 16 illustrates a host computer communicating via a base station with a user equipment over a partially wireless connection in accordance with some embodiments.

Example implementations, in accordance with an embodiment, of the UE, base station and host computer discussed in the preceding paragraphs will now be described with reference to FIG. 16. In communication system 4500, host computer 4510 comprises hardware 4515 including communication interface 4516 configured to set up and maintain a wired or wireless connection with an interface of a different communication device of communication system 4500. Host computer 4510 further comprises processing circuitry 4518, which may have storage and/or processing capabilities. In particular, processing circuitry 4518 may comprise one or more programmable processors, application-specific integrated circuits, field programmable gate arrays or combinations of these (not shown) adapted to execute instructions. Host computer 4510 further comprises software 4511, which is stored in or accessible by host computer 4510 and executable by processing circuitry 4518. Software 4511 includes host application 4512. Host application 4512 may be operable to provide a service to a remote user, such as UE 4530 connecting via OTT connection 4550 terminating at UE 4530 and host computer 4510. In providing the service to the remote user, host application 4512 may provide user data which is transmitted using OTT connection 4550.

Communication system 4500 further includes base station 4520 provided in a telecommunication system and comprising hardware 4525 enabling it to communicate with host computer 4510 and with UE 4530. Hardware 4525 may include communication interface 4526 for setting up and maintaining a wired or wireless connection with an interface of a different communication device of communication system 4500, as well as radio interface 4527 for setting up and maintaining at least wireless connection 4570 with UE 4530 located in a coverage area (not shown in FIG. 16) served by base station 4520. Communication interface 4526 may be configured to facilitate connection 4560 to host computer 4510. Connection 4560 may be direct or it may pass through a core network (not shown in FIG. 16) of the telecommunication system and/or through one or more intermediate networks outside the telecommunication system. In the embodiment shown, hardware 4525 of base station 4520 further includes processing circuitry 4528, which may comprise one or more programmable processors, application-specific integrated circuits, field programmable gate arrays or combinations of these (not shown) adapted to execute instructions. Base station 4520 further has software 4521 stored internally or accessible via an external connection.

Communication system 4500 further includes UE 4530 already referred to. Its hardware 4535 may include radio interface 4537 configured to set up and maintain wireless connection 4570 with a base station serving a coverage area in which UE 4530 is currently located. Hardware 4535 of UE 4530 further includes processing circuitry 4538, which may comprise one or more programmable processors, application-specific integrated circuits, field programmable gate arrays or combinations of these (not shown) adapted to execute instructions. UE 4530 further comprises software 4531, which is stored in or accessible by UE 4530 and executable by processing circuitry 4538. Software 4531 includes client application 4532. Client application 4532 may be operable to provide a service to a human or non-human user via UE 4530, with the support of host computer 4510. In host computer 4510, an executing host application 4512 may communicate with the executing client application 4532 via OTT connection 4550 terminating at UE 4530 and host computer 4510. In providing the service to the user, client application 4532 may receive request data from host application 4512 and provide user data in response to the request data. OTT connection 4550 may transfer both the request data and the user data. Client application 4532 may interact with the user to generate the user data that it provides.

It is noted that host computer 4510, base station 4520 and UE 4530 illustrated in FIG. 16 may be similar or identical to host computer 4430, one of base stations 4412 a, 4412 b, 4412 c and one of UEs 4491, 4492 of FIG. 15, respectively. This is to say, the inner workings of these entities may be as shown in FIG. 16 and independently, the surrounding network topology may be that of FIG. 15.

In FIG. 16, OTT connection 4550 has been drawn abstractly to illustrate the communication between host computer 4510 and UE 4530 via base station 4520, without explicit reference to any intermediary devices and the precise routing of messages via these devices. Network infrastructure may determine the routing, which it may be configured to hide from UE 4530 or from the service provider operating host computer 4510, or both. While OTT connection 4550 is active, the network infrastructure may further take decisions by which it dynamically changes the routing (e.g., on the basis of load balancing consideration or reconfiguration of the network).

Wireless connection 4570 between UE 4530 and base station 4520 is in accordance with the teachings of the embodiments described throughout this disclosure. One or more of the various embodiments may improve the performance of OTT services provided to UE 4530 using OTT connection 4550, in which wireless connection 4570 forms the last segment. More precisely, the teachings of these embodiments may improve the random access speed and/or reduce random access failure rates and thereby provide benefits such as faster and/or more reliable random access.

A measurement procedure may be provided for the purpose of monitoring data rate, latency and other factors on which the one or more embodiments improve. There may further be an optional network functionality for reconfiguring OTT connection 4550 between host computer 4510 and UE 4530, in response to variations in the measurement results. The measurement procedure and/or the network functionality for reconfiguring OTT connection 4550 may be implemented in software 4511 and hardware 4515 of host computer 4510 or in software 4531 and hardware 4535 of UE 4530, or both. In embodiments, sensors (not shown) may be deployed in or in association with communication devices through which OTT connection 4550 passes; the sensors may participate in the measurement procedure by supplying values of the monitored quantities exemplified above, or supplying values of other physical quantities from which software 4511, 4531 may compute or estimate the monitored quantities. The reconfiguring of OTT connection 4550 may include message format, retransmission settings, preferred routing etc.; the reconfiguring need not affect base station 4520, and it may be unknown or imperceptible to base station 4520. Such procedures and functionalities may be known and practiced in the art. In certain embodiments, measurements may involve proprietary UE signaling facilitating host computer 4510's measurements of throughput, propagation times, latency and the like. The measurements may be implemented in that software 4511 and 4531 causes messages to be transmitted, in particular empty or ‘dummy’ messages, using OTT connection 4550 while it monitors propagation times, errors etc.

FIG. 17 illustrates methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments.

FIG. 17 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to FIGS. 15 and 16. For simplicity of the present disclosure, only drawing references to FIG. 17 will be included in this section. In step 4610, the host computer provides user data. In substep 4611 (which may be optional) of step 4610, the host computer provides the user data by executing a host application. In step 4620, the host computer initiates a transmission carrying the user data to the UE. In step 4630 (which may be optional), the base station transmits to the UE the user data which was carried in the transmission that the host computer initiated, in accordance with the teachings of the embodiments described throughout this disclosure. In step 4640 (which may also be optional), the UE executes a client application associated with the host application executed by the host computer.

FIG. 18 illustrates methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments.

FIG. 18 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to FIGS. 15 and 16. For simplicity of the present disclosure, only drawing references to FIG. 18 will be included in this section. In step 4710 of the method, the host computer provides user data. In an optional substep (not shown) the host computer provides the user data by executing a host application. In step 4720, the host computer initiates a transmission carrying the user data to the UE. The transmission may pass via the base station, in accordance with the teachings of the embodiments described throughout this disclosure. In step 4730 (which may be optional), the UE receives the user data carried in the transmission.

FIG. 19 illustrates methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments.

FIG. 19 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to FIGS. 15 and 16. For simplicity of the present disclosure, only drawing references to FIG. 19 will be included in this section. In step 4810 (which may be optional), the UE receives input data provided by the host computer. Additionally or alternatively, in step 4820, the UE provides user data. In substep 4821 (which may be optional) of step 4820, the UE provides the user data by executing a client application. In substep 4811 (which may be optional) of step 4810, the UE executes a client application which provides the user data in reaction to the received input data provided by the host computer. In providing the user data, the executed client application may further consider user input received from the user. Regardless of the specific manner in which the user data was provided, the UE initiates, in substep 4830 (which may be optional), transmission of the user data to the host computer. In step 4840 of the method, the host computer receives the user data transmitted from the UE, in accordance with the teachings of the embodiments described throughout this disclosure.

FIG. 20 illustrates methods implemented in a communication system including a host computer, a base station and a user equipment in accordance with some embodiments.

FIG. 20 is a flowchart illustrating a method implemented in a communication system, in accordance with one embodiment. The communication system includes a host computer, a base station and a UE which may be those described with reference to FIGS. 15 and 16. For simplicity of the present disclosure, only drawing references to FIG. 20 will be included in this section. In step 4910 (which may be optional), in accordance with the teachings of the embodiments described throughout this disclosure, the base station receives user data from the UE. In step 4920 (which may be optional), the base station initiates transmission of the received user data to the host computer. In step 4930 (which may be optional), the host computer receives the user data carried in the transmission initiated by the base station.

Any appropriate steps, methods, features, functions, or benefits disclosed herein may be performed through one or more functional units or modules of one or more virtual apparatuses. Each virtual apparatus may comprise a number of these functional units. These functional units may be implemented via processing circuitry, which may include one or more microprocessor or microcontrollers, as well as other digital hardware, which may include digital signal processors (DSPs), special-purpose digital logic, and the like. The processing circuitry may be configured to execute program code stored in memory, which may include one or several types of memory such as read-only memory (ROM), random-access memory (RAM), cache memory, flash memory devices, optical storage devices, etc. Program code stored in memory includes program instructions for executing one or more telecommunications and/or data communications protocols as well as instructions for carrying out one or more of the techniques described herein. In some implementations, the processing circuitry may be used to cause the respective functional unit to perform corresponding functions according one or more embodiments of the present disclosure.

The term unit may have conventional meaning in the field of electronics, electrical devices and/or electronic devices and may include, for example, electrical and/or electronic circuitry, devices, modules, processors, memories, logic solid state and/or discrete devices, computer programs or instructions for carrying out respective tasks, procedures, computations, outputs, and/or displaying functions, and so on, as such as those that are described herein.

Further definitions and embodiments are discussed below.

When an element is referred to as being “connected”, “coupled”, “responsive”, or variants thereof to another element, it can be directly connected, coupled, or responsive to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected”, “directly coupled”, “directly responsive”, or variants thereof to another element, there are no intervening elements present. Like numbers refer to like elements throughout. Furthermore, “coupled”, “connected”, “responsive”, or variants thereof as used herein may include wirelessly coupled, connected, or responsive. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. Well-known functions or constructions may not be described in detail for brevity and/or clarity. The term “and/or” includes any and all combinations of one or more of the associated listed items.

It will be understood that although the terms first, second, third, etc. may be used herein to describe various elements/operations, these elements/operations should not be limited by these terms. These terms are only used to distinguish one element/operation from another element/operation. Thus a first element/operation in some embodiments could be termed a second element/operation in other embodiments without departing from the teachings of present inventive concepts. The same reference numerals or the same reference designators denote the same or similar elements throughout the specification.

As used herein, the terms “comprise”, “comprising”, “comprises”, “include”, “including”, “includes”, “have”, “has”, “having”, or variants thereof are open-ended, and include one or more stated features, integers, elements, steps, components or functions but does not preclude the presence or addition of one or more other features, integers, elements, steps, components, functions or groups thereof. Furthermore, as used herein, the common abbreviation “e.g.”, which derives from the Latin phrase “exempli gratia,” may be used to introduce or specify a general example or examples of a previously mentioned item, and is not intended to be limiting of such item. The common abbreviation “i.e.”, which derives from the Latin phrase “id est,” may be used to specify a particular item from a more general recitation.

Example embodiments are described herein with reference to block diagrams and/or flowchart illustrations of computer-implemented methods, apparatus (systems and/or devices) and/or computer program products. It is understood that a block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions that are performed by one or more computer circuits. These computer program instructions may be provided to a processor circuit of a general purpose computer circuit, special purpose computer circuit, and/or other programmable data processing circuit to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, transform and control transistors, values stored in memory locations, and other hardware components within such circuitry to implement the functions/acts specified in the block diagrams and/or flowchart block or blocks, and thereby create means (functionality) and/or structure for implementing the functions/acts specified in the block diagrams and/or flowchart block(s).

These computer program instructions may also be stored in a tangible computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instructions which implement the functions/acts specified in the block diagrams and/or flowchart block or blocks. Accordingly, embodiments of present inventive concepts may be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.) that runs on a processor such as a digital signal processor, which may collectively be referred to as “circuitry,” “a module” or variants thereof.

It should also be noted that in some alternate implementations, the functions/acts noted in the blocks may occur out of the order noted in the flowcharts. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Moreover, the functionality of a given block of the flowcharts and/or block diagrams may be separated into multiple blocks and/or the functionality of two or more blocks of the flowcharts and/or block diagrams may be at least partially integrated. Finally, other blocks may be added/inserted between the blocks that are illustrated, and/or blocks/operations may be omitted without departing from the scope of inventive concepts. Moreover, although some of the diagrams include arrows on communication paths to show a primary direction of communication, it is to be understood that communication may occur in the opposite direction to the depicted arrows.

Many variations and modifications can be made to the embodiments without substantially departing from the principles of the present inventive concepts. All such variations and modifications are intended to be included herein within the scope of present inventive concepts. Accordingly, the above disclosed subject matter is to be considered illustrative, and not restrictive, and the examples of embodiments are intended to cover all such modifications, enhancements, and other embodiments, which fall within the spirit and scope of present inventive concepts. Thus, to the maximum extent allowed by law, the scope of present inventive concepts are to be determined by the broadest permissible interpretation of the present disclosure including the examples of embodiments and their equivalents, and shall not be restricted or limited by the foregoing detailed description.

Explanations are provided below for various abbreviations/acronyms used in the present disclosure.

Abbreviation Explanation 3GPP 3^(rd) Generation Partnership Project 5G 5^(th) Generation Wireless Systems NG Next Generation IoT Internet of Things AKA Authentication and Key Agreement AMF Access and Mobility Management Function AN Access Network AS Access Stratum AUSF Authentication Server Function CN Core Network CP Control Plane eNB Evolved Node B gNB Next Generation Node B HPLMN Home Public Land Mobile Network LTE Long Term Evolution (4^(th) Generation Wireless System) MAC Message Authentication Code NAS Network Access Stratum NF Network Function ng-eNB Next Generation Evolved Node B PDCP Packet Data Convergence Protocol LMN Public Land Mobile Network QoS Quality of Service RAN Radio Access Network (R)AN Both 3GPP and non-3GPP Access Networks SA2 3GPP architecture working group SA3 3GPP security group SEAF Security Anchor Function SIM Subscriber Identity Module SoR Steering of Roaming UDM Unified Data Management UE User Equipment or End User Device UP User Plane

Citations for references from the above disclosure are provided below.

-   -   Reference [1]: 3GPP TS 33.501, V15.0.0 (2018-03).     -   Reference [2]: 3GPP TS 23.501 V15.1.0 (2018-03), Technical         Specification Group Services and System Aspects; System         Architecture for the 5G System; Stage 2 (Release 15) 

1. A method by an Authentication Server Function, AUSF, of a home public land mobile network, PLMN, configured to communicate through an interface with electronic devices, the method comprising: receiving a first authentication request from a first PLMN that is authenticating an electronic device; obtaining a first security key used for integrity protection of messages delivered from the home PLMN to the electronic device; receiving a second authentication request from a second PLMN that is authenticating the electronic device; obtaining a second security key used for integrity protection of the messages delivered from the home PLMN to the electronic device; receiving a message protection request; determining which of the first security key and the second security key is a latest security key; and using the latest security key to protect a message associated with the message protection request.
 2. The method of claim 1, further comprising: generating a first time stamp indicating a time when the first security key is obtained and associating the first time stamp with the first security key; and generating a second time stamp indicating a time when the second security key is obtained and associating the second time stamp with the second security key.
 3. The method of claim 1, wherein determining which of the first security key and the second security key is the latest security key comprises: obtaining the first time stamp; obtaining the second time stamp; responsive to the first time of the first time stamp being later than the second time of the second time stamp, determining that the first security key is the latest security key; and responsive to the second time of the second time stamp being later than the first time of the first time stamp, determining that the second security key is the latest security key.
 4. The method of claim 1, further comprising: incrementing a counter when the first security key is obtained and associating a value of the counter with the first security key; and incrementing the counter when the second security key is obtained and associating the value of the counter with the second security key.
 5. The method of claim 4, wherein determining which of the first security key and the second security key is the latest security key comprises: obtaining the value of the counter associated with the first security key; obtaining the value of the counter associated with the second security key; responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key, determining that the first security key is the latest security key; and responsive to the value of the counter associated with the second security key being higher than the value of the counter associated with the first security key, determining that the second security key is the latest security key.
 6. The method of claim 1, further comprising: responsive to the first security key being the latest security key, deleting the second security key; and responsive to the second security key being the latest security key, deleting the first security key.
 7. The method of claim 6, wherein the first PLMN is of a first access type and the second PLMN is of a second access type, wherein the first security key is generated by a first instance of the AUSF associated with the first access type and the second security key is generated by a second instance of the AUSF associated with the second access type, and wherein deleting the second security key comprises: sending a second indication to the second instance of the AUSF to delete the second security key; and deleting the first security key comprises: sending a first indication to the first instance of the AUSF to delete the first security key.
 8. The method of claim 6 wherein deleting the second security key comprises deleting the second security key responsive to the first security key being stored and deleting the first security key comprises deleting the first security key responsive to the second security key being stored.
 9. The method of claim 1, wherein the message protection request is a message protection request for one of a steering of roaming, SoR, message or a UE parameter update message.
 10. An Authentication Server Function, AUSF, of a communications system that comprises a home public land mobile network, PLMN, configured to communicate through an interface with electronic devices, the AUSF comprising: at least one processor configured to perform operations comprising: receiving a first authentication request from a first PLMN that is authenticating an electronic device; obtaining a first security key used for integrity protection of messages delivered from a home public land mobile network, PLMN, to the electronic device; receiving a second authentication request from a second PLMN that is authenticating the electronic device; obtaining a second security key used for integrity protection of the messages delivered from the home PLMN to the electronic device; receiving a message protection request; determining which of the first security key and the second security key is a latest security key; and using the latest security key to protect a message associated with the message protection request.
 11. The AUSF of claim 10, wherein the at least one processor is configured to perform further operations comprising: generating a first time stamp when the first security key is obtained and associating the first time stamp with the first security key; and generating a second time stamp when the second security key is obtained and associating the second time stamp with the second security key.
 12. The AUSF of claim 10, wherein determining which of the first security key and the second security key is the latest security key comprises: obtaining a first time stamp indicating a first time when the first security key was obtained; obtaining a second time stamp indicating a second time when the second security key was obtained; responsive to the first time being later than the second time, determining that the first security key is the latest security key; and responsive to the second time being later than the first time, determining that the second security key is the latest security key.
 13. The AUSF of claim 10, wherein the at least one processor is configured to perform further operations comprising: incrementing a counter when the first security key is obtained and associating a value of the counter with the first security key; and incrementing the counter when the second security key is obtained and associating the value of the counter with the second security key.
 14. The AUSF of claim 13, wherein determining which of the first security key and the second security key is the latest security key comprises: obtaining the value of the counter associated with the first security key; obtaining the value of the counter associated with the second security key; responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key, determining that the first security key is the latest security key; and responsive to the value of the counter associated with the second security key being higher than the value of the counter associated with the first security key, determining that the second security key is the latest security key.
 15. A method in an electronic device configured to communicate through a wireless air interface with a home public land mobile network, PLMN, and visiting PLMNs, the method comprising: transmitting a first registration request to a first PLMN to register the electronic device; generating a first security key used for integrity protection of messages delivered from the home PLMN to the electronic device; transmitting a second registration request to a second PLMN that is authenticating the electronic device; generating a second security key used for integrity protection of the messages delivered from the home PLMN to the electronic device; receiving a protected message from the home PLMN; determining which of the first security key and the second security key is a latest security key; and using the latest security key to determine contents of a message received from the home PLMN.
 16. The method of claim 15, wherein the protected message comprises one of a UDM parameter update message or a steering of roaming message.
 17. The method of claim 15, further comprising: generating a first time stamp indicating a time when the first security key is generated and associating the first time stamp with the first security key; and generating a second time stamp indicating a time when the second security key is generated and associating the second time stamp with the second security key.
 18. The method of claim 17, wherein determining which of the first security key and the second security key is the latest security key comprises: obtaining the first time stamp; obtaining the second time stamp; responsive to the first time of the first time stamp being later than the second time of the second time stamp, determining that the first security key is the latest security key; and responsive to the second time of the second time stamp being later than the first time of the first time stamp, determining that the second security key is the latest security key.
 19. The method of claim 15, further comprising: incrementing a counter when the first security key is generated and associating the value of the counter with the first security key; and incrementing the counter when the second security key is generated and associating the value of the counter with the second security key.
 20. The method of claim 19, wherein determining which of the first security key and the second security key is the latest security key comprises: obtaining the value of the counter associated with the first security key; obtaining the value of the counter associated with the second security key; responsive to the value of the counter associated with the first security key being higher than the value of the counter associated with the second security key, determining that the first security key is the latest security key; and responsive to the value of the counter associated with the second security key being higher than the value of the counter associated with the first security key, determining that the second security key is the latest security key. 